package com.weng.sso.server.service;


import com.weng.sso.server.entity.User;
import com.weng.sso.server.mapper.UserMapper;
import org.apache.ibatis.annotations.Param;

public interface UserService {



    /*
     * 根据账号查找用户
     * @param [account]
     * @return
     */
    User findUser(String account);

    /*
     * 更新密码
     * @param [password, id]
     * @return
     */
    int changePwd(@Param("password") String password, @Param("id") String id);
}
